package com.zxd.proxy;

/**
 * ClassName:Yang
 * Package:com.zxd.proxy
 *
 * @Date:2023/10/8 15:43
 * @Author:zxde
 */
public class Yang implements Star{

    public String playBasketball() {
        System.out.println("Yang在打篮球");
        return "打篮球方法返回值";
    }


    public String playFootball() {
        System.out.println("Yang在踢足球");
        return "踢足球方法返回值";

    }

    @Override
    public String sing(String singName) {
        System.out.println("Yang在唱："+singName);
        return "唱歌方法返回:唱完了"+singName;
    }

    @Override
    public String dance(String danceName) {
        System.out.println("Yang在跳:"+danceName);
        return "跳舞方法返回:跳完了"+danceName;
    }
}
